<!--  -->
<template>
  <el-container>
    <el-header>
     <Header></Header>
    </el-header>
    <el-container>
      <el-aside width="200px">
        <LeftMenu></LeftMenu>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script lang='ts' setup>
import LeftMenu from '../../components/menu/LeftMenu.vue';
import Header from '../../components/menu/Header.vue';


// import { Menu } from '../../service/menu/type'
// import { ref } from 'vue'
// let menuList = JSON.parse(sessionStorage.getItem("menu")!) as Array<Menu>;
// const leftMenu = ref<Array<Menu>>([]);
// leftMenu.value = menuList.filter(item => item.pid === 0 && item.postion == "left");




</script>
<style scoped lang="less">
.el-header {
  background: #f4f4f4;
  height: 50px;
  border-bottom: 1px solid #e5e5e5;
}

.el-aside {
  background: #f4f4f4;
  width: 90px;
}

.el-main {
  background: #fff;

}

.el-container {
 
  height: 100vh;
  overflow-y: hidden;
}
</style>